package com.ddwl.schema.bo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/6/14 10:49
 */
@ApiModel("订单搜索Bo")
@Setter
@Getter
public class OrderSearchBo {

    @ApiModelProperty("搜索关键字")
    private String keyword;
    @ApiModelProperty(value = "用户信息", hidden = true)
    private String userId;
    @ApiModelProperty("商户ID")
    private String mchId;
    @ApiModelProperty("门店ID")
    private String shopId;
    @ApiModelProperty("区域ID")
    private String regionId;
    @ApiModelProperty("支付金额")
    private BigDecimal amount;
    @ApiModelProperty("订单状态 0待支付 1已支付 2已取消 3已退款")
    private Byte status;

    @ApiModelProperty("起始时间")
    private String beginDate;
    @ApiModelProperty("截止时间")
    private String endDate;
    @ApiModelProperty("所属产品")
    private String product;
    @ApiModelProperty("订单类型")
    private Byte type;

}
